package ex3;
import java.util.Date;
public abstract class Person implements Mammal{
	private String firstname;
	private BloodGroup bloodgroup;
	private Address address;
	private Date dateOfBirth = new Date();
	
	public void setDateOfBirth(Date dob) {
		this.dateOfBirth = dob;
	}
	
	public Date getDateOfBirth() {
		return this.dateOfBirth;
	}
	public Address getAddress() {
		return this.address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	public BloodGroup getBloodgroup() {
		return this.bloodgroup;
	}

	public void setBloodgroup(BloodGroup bloodgroup) {
		this.bloodgroup = bloodgroup;
	}

	public String getFirstname() {
		return this.firstname;
	}

	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}
	
	
}
